using B.S.XZYData.ErrorCode;
using MediatR;

namespace B.S.XZYData.Api.Read.Application.Command.SalesOrder
{
    /// <summary>
    /// 导出销售订单命令
    /// </summary>
    public class ExportSalesOrderCommand : IRequest<ApiResult<byte[]>>
    {
        /// <summary>
        /// 单据编号（模糊查询）
        /// </summary>
        public string? OrderNo { get; set; }

        /// <summary>
        /// 备注（模糊查询）
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 是否包含产品明细
        /// </summary>
        public bool IncludeProductDetails { get; set; } = true;
    }
}
